<?php /* Smarty version 2.6.26, created on 2011-07-17 19:41:49
         compiled from queCreator.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'cycle', 'queCreator.tpl', 8, false),)), $this); ?>
Wybierz wiadomości
<table>
    <tr>
        <td>ID</td><td>Treść</td>
    </tr>
<?php $_from = $this->_tpl_vars['messages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['myId'] => $this->_tpl_vars['i']):
?>
<?php echo '<tr bgcolor="'; ?><?php echo smarty_function_cycle(array('values' => "#aaaaaa,#bbbbbb"), $this);?><?php echo '"><td>'; ?><?php echo $this->_tpl_vars['i']['message_id']; ?><?php echo '</td><td><div id="popup"><form name="myForm" method="post" action="index.php"><input type="hidden" name="source" value="'; ?><?php echo $this->_tpl_vars['page']->getPageName(); ?><?php echo '"><input type="hidden" name="selectedMessage" value="'; ?><?php echo $this->_tpl_vars['i']['message_id']; ?><?php echo '"><input type="hidden" name="action" value="createQue2"><a>Podgląd<span>'; ?><?php echo $this->_tpl_vars['i']['message_content']; ?><?php echo '</span><input type="submit" value="Wybierz"></a></form></div></td></tr>'; ?>

<?php endforeach; endif; unset($_from); ?>
</table>